github.com/klauspost/compress/zstd.match.offset (field)
13 uses
github.com/klauspost/compress/zstd (current package)
enc_best.go#L30: offset int32
enc_best.go#L44: ofc = ofCode(uint32(m.s-m.offset) + 3)
enc_best.go#L251: cand := match{offset: offset, s: s, length: l, rep: rep}
enc_best.go#L347: if best.offset >= best.s {
enc_best.go#L348: panic(fmt.Sprintf("best.offset > s: %d >= %d", best.offset, best.s))
enc_best.go#L353: if best.offset < s-e.maxMatchOff {
enc_best.go#L354: panic(fmt.Sprintf("best.offset < s-e.maxMatchOff: %d < %d", best.offset, s-e.maxMatchOff))
enc_best.go#L356: if !bytes.Equal(src[best.s:best.s+best.length], src[best.offset:best.offset+best.length]) {
enc_best.go#L357: panic(fmt.Sprintf("match mismatch: %v != %v", src[best.s:best.s+best.length], src[best.offset:best.offset+best.length]))
enc_best.go#L371: println("repeat sequence", seq, "next s:", best.s, "off:", best.s-best.offset)
enc_best.go#L411: t := best.offset
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |